package top.yifengxiner.blockchain.service;

import top.yifengxiner.blockchain.pojo.entity.Academic;
import top.yifengxiner.blockchain.pojo.vo.CertificateVo;
import top.yifengxiner.blockchain.pojo.vo.IdVo;
import top.yifengxiner.common.core.pojo.AjaxResult;

import java.util.List;

public interface AcademicService
{
    /**
     * 通过学生ID查询学历证书列表
     * @return
     */
    public List<Academic> getAcademic(IdVo idVo);

    /**
     * 通过学历证书ID查询学历证书详情
     */
    public Academic getAcademicInfo(IdVo idVo);

    /**
     * 生成证书
     */
    public int insertAcademic(CertificateVo certificateVo);

    /**
     * 核验证书
     */
    public AjaxResult checkAcademic(String id);
}
